package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbUserReadAndPraise;
import com.quanyan.user.model.db.TbUserReadAndPraiseExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbUserReadAndPraiseMapper {
    int countByExample(TbUserReadAndPraiseExample example);

    int deleteByExample(TbUserReadAndPraiseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbUserReadAndPraise record);

    int insertSelective(TbUserReadAndPraise record);

    List<TbUserReadAndPraise> selectByExample(TbUserReadAndPraiseExample example);

    TbUserReadAndPraise selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbUserReadAndPraise record, @Param("example") TbUserReadAndPraiseExample example);

    int updateByExample(@Param("record") TbUserReadAndPraise record, @Param("example") TbUserReadAndPraiseExample example);

    int updateByPrimaryKeySelective(TbUserReadAndPraise record);

    int updateByPrimaryKey(TbUserReadAndPraise record);
}